package com.atguigu.srb.sms.clients.fallback;

import com.atguigu.srb.sms.clients.CoreUserInfoClient;
import org.springframework.stereotype.Component;

@Component
//@Qualifier("CoreUserInfoClient")
public class CoreUserInfoClientFallback implements CoreUserInfoClient {
    @Override
    public boolean isMobileExist(String mobile) {

        System.out.println("isMobileExist的兜底函数--连接超时，异常");
        return true;
    }
}
